<!DOCTYPE html>
<html lang="en">
<head>
    <title>{$post_title} {$site_name} </title>
    <meta name="keywords" content="{$post_keywords}" />
    <meta name="description" content="{$post_excerpt}">
    <meta name="author" content="成都千峰云科技有限公司">
    <tc_include file="Public:head" />
    <!--common-->
    <link rel="stylesheet" href="__TMPL__Public/css/common-m.css">
    <link href="__PUBLIC__/TciocEx/css/style-responsive.css" rel="stylesheet">
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="__PUBLIC__/TciocEx/js/html5shiv.js"></script>
    <script src="__PUBLIC__/TciocEx/js/respond.min.js"></script>
    <![endif]-->
    <!-- Placed js at the end of the document so the pages load faster -->
    <script src="__PUBLIC__/TciocEx/js/jquery-1.10.2.min.js"></script>
    <script src="__PUBLIC__/TciocEx/js/bootstrap.min.js"></script>
    <!-- 必须引入的文件 -->
    <link rel="stylesheet" href="__PUBLIC__/js/nprogress/nprogress.css">
    <script src="__PUBLIC__/js/jquery.pjax/jquery.pjax.js"></script>
    <script src="__PUBLIC__/js/nprogress/nprogress.js"></script>
    <style>
        .nav_banner{
            width: 100%;
            height: 58px;
            background:#f6f6f6;
            display: flex;flex-direction:column;justify-content: center;
            align-items: flex-end;
        }
        .fr a {font-size: 1.5rem;line-height: 2rem;color: #666666 !important;}
        .nav_banner span{margin: 0;font-size: 14px;}
        .nav_banner a{text-decoration: none;color: #000;}
        .news_content{
            padding: 40px 0 100px 0;
            overflow: hidden;
        }
       .row{width: 100%;margin: 0 auto}
        .title{font-size: 18px;color:#333333;line-height: 24px;margin-top: 20px;margin-top: 10px}
        .p1{font-size: 14px;line-height: 28px;height: 130px;color: #666666}
        .row img{width: 100%}
        .col-md-6 {padding: 0}
    </style>
</head>
<body style=" font-size: 62.5%;">
<tc_include file="Public:nav" />
<php>
    $term_id=$_GET['cid'];
    $term=sp_get_term($term_id );//获取当前子分类信息
    $path=preg_split("/-|and/", $term['path']);
    $one_term=sp_get_term($path[1] );
</php>
<div class="nav_banner" style="width: 94.66%;margin: 0 auto;">
    <div >
            <span class="fr">
                <a href="/"> 首页</a>
                  > <a href="{:leuu('list/index',array('id'=>$path[1]))}">{$one_term['name']}</a>
                > <a href="{:leuu('list/index',array('id'=>$term_id))}">{$term['name']}</a>
                > <a >设备详情</a>
            </span>
    </div>

</div>
    <div class="row" style="width: 94.66%;margin: 0 auto;margin-top: 40px">
        <div class="left_content col-lg-6 col-md-6 "style="width: 100%;">
            <if condition="!empty($smeta['thumb'])">
                <img src="{:sp_get_asset_upload_path($smeta['thumb'])}"  style="width: 80%;margin-left: 10%" >
                <else />
                <img src="__TMPL__Public/images/equipment/article1.png"  style="width: 80%;margin-left: 10%" alt="">
            </if>

        </div>
        <div class="right_content col-lg-6 col-md-6 " style="width: 100%">
            <img src="__TMPL__Public/images/equipment/h1.png" alt="" style="height: 0.3rem;">
            <div class="row">

                <h2 style="width: 100%;font-size: 2.2rem;line-height: 2.8rem;color:#333333;">{$post_title}</h2>
                <p style="width: 100%;font-size: 1.8rem;line-height: 2rem">{$post_excerpt}</p>

            </div>
            <img src="__TMPL__Public/images/equipment/h2.png" alt="" style="margin-top: 15px">
            {$post_content}
            <!--<div class="row" >-->
                <!--<p class="title">主要功能：</p>-->
                <!--<hr style="height: 1px;margin: auto">-->
                <!--<p class="p1">缺陷检测，逆向工程</p>-->
            <!--</div>-->
            <!--<div class="row">-->
                <!--<p class="title">主要应用领域：</p>-->
                <!--<hr style="height: 1px;margin: auto">-->
                <!--<p class="p1">工业，材料，生物，电子，地质</p>-->
            <!--</div>-->
            <!--<div class="row" style="margin-bottom: 30px">-->
                <!--<p class="title" >共享模式：</p>-->
                <!--<hr style="height: 1px;margin: auto">-->
                <!--<p class="p1" >对外共享</p>-->
            <!--</div>-->
        </div>
    </div>
<tc_include file="Public:footer" />

</body>
</html>
<!--导航-->
<script>
    function opennav(obj){
        $('.nav_open').css("display",'none');
        $('.nav_close').css("display",'block');
        $('.navigation').css("display",'block');
    }
    function closenav(){
        $('.nav_open').css("display",'block');
        $('.nav_close').css("display",'none');
        $('.navigation').css("display",'none');
    }
    $(document).ready(function(){
        /*获取屏幕的高度*/
        var ow = $(window).height()
        var oh = ow-120;
        $(".navigation").css("height",oh);
    });
</script>